<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	boolean update = Boolean.valueOf(request.getParameter("update"));
%>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>绩效考核系统</title>
<link href="styles/core.css" rel="stylesheet" type="text/css">
<link href="styles/Master.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="scripts/jquery/jquery.js"></script>
<script type="text/javascript" src="scripts/common.js"></script>
<script type="text/javascript" src="scripts/message.js"></script>
<script type="text/javascript" src="scripts/checkUtil.js"></script>

<script type="text/javascript" src="scripts/system/worker.js"></script>

<style>

</style>

<script>

</script>

</head>

<body>
<s:form name="workerForm" id="workerForm" action="job-addJob" namespace="/system" method="post">

	<h2 style="text-align: left">工作人员详细信息</h2>
	<hr width="100%" align="left" size="1" color="#E1EEF8">
	<s:hidden id="workerCode" name="worker.workerCode"></s:hidden>

	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabHeader">
    	<tr>
			<td class="tdBg_right" width="10%" height="20px">编号：</td>
			<td align="left">
				<s:property value="worker.workerCode"/>
			</td>
			<td class="tdBg_right" width="10%" height="20px">姓名：</td>
			<td align="left">
				<s:property value="worker.workerName"/>
			</td>
		</tr>

		<tr>
			<td class="tdBg_right" width="10%" height="20px">性别：</td>
			<td align="left">
				<s:if test="worker.gender == \"M\"">男</s:if>
				<s:elseif test="worker.gender == \"F\"">女</s:elseif>
			</td>
			<td class="tdBg_right" width="10%" height="20px">出生日期：</td>
			<td align="left">
				<s:date name="worker.birthday" format="yyyy-MM-dd"/>
			</td>
		</tr>
		<tr>
			<td class="tdBg_right" width="10%" height="20px">身份证号：</td>
			<td align="left">
				<s:property value="worker.idCardNo"/>
			</td>
			<td class="tdBg_right" width="10%" height="20px">民族：</td>
			<td align="left">
				<s:property value="worker.nation"/>
			</td>
		</tr>
		<tr>
			<td class="tdBg_right" width="10%" height="20px">学历：</td>
			<td align="left">
				<s:property value="worker.education"/>
			</td>
			<td colspan="2"></td>
		</tr>
		<tr>
			<td class="tdBg_right" width="10%" height="20px">岗位：</td>
			<td align="left">
				<s:property value="worker.jobName"/>
			</td>
			<td class="tdBg_right" width="10%" height="20px">入职时间：</td>
			<td align="left">
				<s:date name="worker.employedDate" format="yyyy-MM-dd"/>
			</td>
		</tr>
	</table>

	<center>
		<div style="padding: 4px 0pt;">
			<input type="button" value="修改" class="btn_mouseout" onclick="modify('<s:property value="worker.workerCode"/>');"
				onmouseover="this.className='btn_mouseover'" onmouseout="this.className='btn_mouseout'"
				onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'">
			<input type="button" value="返回" class="btn_mouseout" onclick="back();"
				onmouseover="this.className='btn_mouseover'" onmouseout="this.className='btn_mouseout'"
				onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'">
		</div>
	</center>
</s:form>

<div id="waiting" style="display: none;">
	<div id="background" class="background"></div>
	<div id="progressBar" class="progressBar">数据加载中，请稍等...</div>
</div>
</body>
</html>